<?php
	function qdbconn() {
		$dbUser = "root";
		$dbPass = "";
		$dbName = "gms";
		$dbHost = "localhost";
		if (!($link=mysql_connect($dbHost, $dbUser, $dbPass))) {
			error_log(mysql_error(), 3, "/tmp/phplog.err");
		}
		if (!mysql_select_db($dbName, $link)) {
		error_log(mysql_error(), 3, "/tmp/phplog.err");
		}
	}
	
?>